var ProtoBuf = dcodeIO.ProtoBuf;
var pqBaseInfo = ProtoBuf.loadProtoFile("./pb/PQ.BaseInfo.proto");
var pqRes=pqBaseInfo.build("PQ.BaseInfo.UserInfo");
var pq=new pqRes();
pq.set('u_id',1);
pq.set('u_name','56lea.com');
pq.set('u_pwd','123');
pq.set('u_sex',1);
var obj=pqRes.decode(pq.toArrayBuffer());
alert(obj.u_name);